﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SheBao.IDAL
{
    public interface IBaseDal<T> where T : class,new()
    {
        void Add(T entity);
        void Update(T entity);
        void Delete(T entity);

        IQueryable<T> LoadEntities(Func<T, bool> lamda);
    }
}
